<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
	<title>移动端时间选择插件</title>
</head>
<body>
	<input type="" name="" id = "calendar">
</body>
<script>
  document.getElementById('calendar').onclick = function() {
  	new Calendar({
      el: '#calendar',
      range: 5
    });
  }
</script>
</html>